package middleware

import (
	"io"
	"os"

	"github.com/gin-gonic/gin"
)

func Log() {
	gin.DisableConsoleColor()

	f, _:= os.Create("gin.log")
	gin.DefaultWriter = io.MultiWriter(f, os.Stdout)
}